Skip to content

[DO NOT MERGE] Bruce.tu/fix stacked widget display legend required 2#2187

Closed
api-clients-generation-pipeline[bot] wants to merge 1 commit intomasterfrom
datadog-api-spec/generated/3159
Closed

[DO NOT MERGE] Bruce.tu/fix stacked widget display legend required 2#2187
api-clients-generation-pipeline[bot] wants to merge 1 commit intomasterfrom
datadog-api-spec/generated/3159

Conversation

@api-clients-generation-pipeline
Copy link
Copy Markdown
Contributor


def __init__(self_, legend: ToplistWidgetLegend, type: ToplistWidgetStackedType, **kwargs):
def __init__(
self_, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **kwargs
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
self_, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **kwargs
self, type: ToplistWidgetStackedType, legend: Union[ToplistWidgetLegend, UnsetType] = unset, **kwargs
first parameter of a class function should be self (...read more)

In a class method (that is not a class method nor a static method), the first argument must be self by convention.

Learn More

View in Datadog  Leave us feedback  Documentation

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had activity in the last 30 days.
If there is no activity for another 90 days, this issue will be automatically closed.

@github-actions github-actions Bot added the stale label Oct 31, 2024
@dd-devflow dd-devflow Bot closed this Jan 31, 2025
@dd-devflow dd-devflow Bot deleted the datadog-api-spec/generated/3159 branch January 31, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants